package com.xingjibase.activity;

import android.app.Application;
import android.util.Log;
import com.applications.BaseApplication;
import com.interfaces.InterfaceInitApp;

public class MyApp extends BaseApplication implements InterfaceInitApp {
    public static boolean mInitStatu = false;

    @Override
    public void onCreate() {
        super.onCreate();

        initializa(this);
    }

    @Override
    public void initializa(Application app) {

    }

    public static boolean isInitStatu() {
        return mInitStatu;
    }

    public static void setInitStatu(boolean mInitStatu) {
        MyApp.mInitStatu = mInitStatu;
    }

    @Override
    public void onTerminate() {
        super.onTerminate();
        Log.e("TAG", "TAG" + " App已退出");
    }
}
